package com.gjintel.auction.business.service.serviceImpl;

import com.gjintel.auction.business.dao.IAuctionEntryDao;
import com.gjintel.auction.business.service.IAuctionService;
import com.gjintel.auction.business.service.IEntryService;
import com.gjintel.sdk.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**
 * Created by Administrator on 2017/11/22.
 */
@Service
public class EntryServiceImpl extends BaseServiceImpl implements IEntryService {

//    @Autowired
//    private IAuctionService auctionService;

    @Resource
    private IAuctionEntryDao auctionEntryDao;

    @Override
    public boolean getEntryAble(String auctionId, String userId) {
        return auctionEntryDao.getEntryAble(auctionId, userId);
    }
}
